<div class="list-group-item">
  <img class="mr-3 img-thumbnail" width="48"  src="{{$user->gravatar()}}" alt="{{$user->name}}">
  <a class="text-decoration-none" href="{{route('users.show',$user)}}">
    {{$user->name}}
  </a>
  @can('destroy',$user)
    <form method="POST"  action="{{route('users.destroy',$user->id)}}" class="float-end">
      {{csrf_field()}}
      {{method_field('DELETE')}}
      <button type="submit" class="btn btn-danger btn-sm delete-btn">删除</button>
    </form>
  @endcan
</div>
